#ifndef __FLASH_H_
#define __FLASH_H_







#include "all.h"
int ReadFlashNBtye(uint32_t StartAddr,uint32_t ReadAddress, uint8_t *ReadBuf, int32_t ReadNum);
void Write_Flash_Buff(uint32_t page,uint32_t WriteAddress,uint8_t *buffer,uint32_t length);
//void Write_Byte_Flash_Addr(uint32_t WriteAddress,uint8_t *buffer,uint32_t length);
void Write_Data_Flash_Buff(uint32_t StartAddr,uint32_t WriteAddress,uint8_t *buffer,uint32_t length);// 不擦除写入

#endif


